import unittest
from teacher import Teacher


class MyTestCase(unittest.TestCase):
    def test_something(self):
        person = Teacher("姓名", 1024, "001", 24)
        person.Disp()
        self.assertEqual("姓名", person.Name)
        self.assertEqual(1024, person.Age)
        person.NewDisp()
        self.assertEqual("001", person.No)
        self.assertEqual(24, person.Ta)


if __name__ == '__main__':
    unittest.main()
